/**
 * 04/12/2013
 * 
 * UserDAOInterface
 * 
 * Copyright GPL
 */
package com.jtmproject.database;

import java.util.List;

/**
 * this is an interface to force the classes to use this method(DAO Pattern)
 * @author Javier Tejedor
 */
public interface UserDAOInterface {

	public User selectById(int id);
	public List<User> selectAll();
	public void insert(User user);
	public void update(User user);
	public void delete(User user);
	public List<User> selectAllByName(String name);
	public void saveOrUpdate(User user);
	
}
